﻿using MyHome.Server.PluginBase;
using System;
using System.Diagnostics;
using System.Linq;

namespace ConsoleOutputPlugin
{
    /// <summary>
    /// A simple plugin that outputs the received value to the console.
    /// </summary>
    public class ConsoleOutputPlugin : OutputPlugin<object>
    {
        protected override void OnSendOutput(object value)
        {
            Debug.WriteLine("output writing " + value);
            Console.WriteLine(value);
        }

        protected override void OnStart()
        {
        }

        protected override void OnStop()
        {
        }
    }
}